package com.yuxi.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yuxi.Entity.Information;
import com.yuxi.Entity.TaskInformationView;
import com.yuxi.Request.DateQuery;
import com.yuxi.Request.InformationQuery;
import com.yuxi.Request.Page;

@Controller
public interface InformationShowController {
	/**
	 * 查询用户当前可操作的信息列表(1.根据条件查询出当前用户可操作的信息列表 2.组装返回)
	 * @param inforQuery  InformationQuery 信息查询条件类
	 * @return 
	 * @author wyd
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/getUserInformation.do",produces={"application/json;charset=utf-8"})
	public String getUserInformation(InformationQuery inforQuery,Page<Information> page,HttpSession session,HttpServletRequest request);
	
	
	/**
	 * 查询初审信息列表
	 * 
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/FirstCheckFilter/firstCheckGetList.do",produces={"application/json;charset=utf-8"})
	public String firstCheckGetList(InformationQuery infoQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	/**
	 * 查询复核信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/ReCheckFilter/reCheckList.do",produces={"application/json;charset=utf-8"})
	public String reCheckList(InformationQuery infoQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	/**
	 * 查询审核信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/CheckFilter/checkList.do",produces={"application/json;charset=utf-8"})
	public String checkList(InformationQuery infoQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	/**
	 * 查询信息研判信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/TaskResearchFilter/infoResearchList.do",produces={"application/json;charset=utf-8"})
	public String infoResearchList(InformationQuery infoQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	/**
	 * 查询任务派遣信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/TaskDispatchtFilter/taskDispatchList.do",produces={"application/json;charset=utf-8"})
	public String taskDispatchList(InformationQuery infoQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	/**
	 * 查询即时任务派遣信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/CurTaskDispatchtFilter/curTaskDispatchList.do",produces={"application/json;charset=utf-8"})
	public String curTaskDispatchList(InformationQuery infoQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	/**
	 * 查询任务完成情况信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/TaskFinshListFilter/taskFinshList.do",produces={"application/json;charset=utf-8"})
	public String taskFinshList(InformationQuery infoQuery,Page<TaskInformationView> p,HttpServletRequest request,HttpSession session);
	/**
	 * 查询超期信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/InformationDispatch/getAllTimeOutInfoList.do",produces={"application/json;charset=utf-8"})
	public String getAllTimeOutInfoList(InformationQuery infoQuery,Page<TaskInformationView> p,HttpServletRequest request,HttpSession session);

	/**
	 * 查询已完成信息列表
	 * */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/taskAlreadyFinshList.do",produces={"application/json;charset=utf-8"})
	public String taskAlreadyFinshList(InformationQuery infoQuery,Page<TaskInformationView> p,HttpServletRequest request,HttpSession session);

	
	/**
	 * 查询处理过的信息
	 * @param session
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/taskAlreadyDoList.do",produces={"application/json;charset=utf-8"})
	public String taskAlreadyDoList(InformationQuery inforQuery,Page<Information> p, HttpServletRequest request,HttpSession session); 
	
	
	/**
	 * 查询待点评的信息列表
	 * 
	 * @param inforQuery
	 * @param p
	 * @param session
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/CommentFilter/commentInfoList.do",produces={"application/json;charset=utf-8"})
	public String commentInfoList(InformationQuery inforQuery,Page<Information> p,HttpSession session,HttpServletRequest request);
	
	
	/**
	 * 查询待评价的信息
	 * @param inforQuery
	 * @param p
	 * @param session
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/evaluationFilter/evaluationList.do",produces={"application/json;charset=utf-8"})
	public String evaluationList(InformationQuery inforQuery,Page<Information> p,HttpSession session,HttpServletRequest request);
	
	/**
	 * 查询已调配信息
	 * @param inforQuery
	 * @param p
	 * @param request
	 * @param session
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/InformationDispatch/getInfoDispatch.do",produces={"application/json;charset=utf-8"})
	public String getInfoDispatch(InformationQuery inforQuery,Page<Information> p,HttpServletRequest request,HttpSession session);
	
	
	
	/**
	 * 查询所有信息
	 * @param inforQuery
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/InformationDispatch/getAllInfoList.do",produces={"application/json;charset=utf-8"})
	public String getAllInfoList(InformationQuery inforQuery,Page<Information> p,HttpSession session,HttpServletRequest request);
	
	/**
	 * 获取已派遣任务列表
	 * @param inforQuery
	 * @param p
	 * @param session
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/InformationDispatch/getUserDispatchList.do",
					produces={"application/json;charset=utf-8"}
	)
	public String getUserDispatchList(InformationQuery inforQuery,Page<TaskInformationView> p,HttpSession session,HttpServletRequest request);
	
	/**
	 * 获取可以派遣的任务列表
	 * @param inforQuery
	 * @param p
	 * @param session
	 * @param request
	 * @return
	 */
	
	@ResponseBody
	@RequestMapping(value="/LoginFilter/InformationDispatch/getCanTaskDisList.do",
					produces={"application/json;charset=utf-8"}
	)
	public String getCanTaskDisList(InformationQuery inforQuery,Page<Information> p,HttpSession session,HttpServletRequest request);

	/**
	 * 获取所有监区监狱数据汇总
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/getPrisonAllData.do",
					produces={"application/json;charset=utf-8"}
	)
	public String getPrisonAllData(DateQuery query);
	
	/**
	 * 获取所有监区监狱数据汇总BY月份
	 * @return
	 */
	@ResponseBody
	@RequestMapping(value="/LoginFilter/getPrisonAllDataByMonth.do",
					produces={"application/json;charset=utf-8"}
	)
	public String getPrisonAllDataByMonth();
}
